package com.exam.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(description = "教师实体")
public class Teacher {
    @ApiModelProperty("编号")
    private String id;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("认证状态")
    private String certified;

    @ApiModelProperty("盐值")
    private String salt;

    @TableField("create_time")
    @ApiModelProperty("创建时间")
    private Date createTime;

    @TableField("image_url")
    @ApiModelProperty("图片路径")
    private String imageUrl;
}
